package com.easysan;

import com.easysan.config.BeanConfig;
import com.easysan.service.EasysanService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author easysan
 * @version v1.0.0
 * @describe TODO
 * @date 2022/5/22 9:49
 */
public class EasysanApplicationContext {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(BeanConfig.class);
		System.out.println(context.getBean(EasysanService.class));
	}
}
